package com.dengjk.codegenerator.model;

import cn.hutool.core.date.DatePattern;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class TableInfoExt implements Serializable {

    private static final long serialVersionUID = 3148176768559230877L;
    private String tableName;
    private String comments;
    private String engineName;
    private Long tableRows;
    private String dataLength;
    @JSONField(format = DatePattern.NORM_DATETIME_PATTERN)
    private Date createTime;
    @JSONField(format = DatePattern.NORM_DATETIME_PATTERN)
    private Date updateTime;
    private Integer columnCount;
    private List<TableInfoExt> tableInfos;


}

